$().ready(function() {

    jQuery("#social-media-grid").jqGrid({        
            url:'http://localhost/ceevee/web/backend_dev.php/de/socialMedia.xml',
            datatype: "xml",
            colNames:['ID','Seite', 'URL', 'Actions'],
            colModel:[
                    {name:'id',index:'id', width:55},
                    {name:'site',index:'site', width:150},
                    {name:'url',index:'url', width:250},
                    {name:'actions',index:'actions', width:55, sortable: false}	
            ],
   	rowNum:10,
   	pager: '#social-media-grid-bar',
   	sortname: 'id',
        viewrecords: true,
        autowidth: true,
        autoheight: true,
        sortorder: "asc",
        caption:""
    });
    jQuery("#social-media-grid").jqGrid('navGrid','#social-media-pager',{edit:false,add:false,del:false});
    
     $(".ui-button-edit-12").button({
        icons: {
            primary: "ui-icon-12 ui-icon-edit"
        }
    });

});


